package com.jianggy.observer.listener;

import java.util.EventObject;

/**
 * 点击事件监听
 * @author jianggy
 *
 */
public class SingleClickListener implements ClickListener {

	@Override
	public void onClick(EventObject event) {
		if (((CustomEvent)event).getClick() ==1) {
			System.out.println("user click the evnetsource one times");
		}
		
	}
	
	
	
	
}
